package com.nc.delivery_project.server.service;

import com.nc.delivery_project.server.dao.AbstractDao;
import com.nc.delivery_project.server.dao.ContactNameDao;
import com.nc.delivery_project.server.domain.ContactName;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

/**
 * Created by miroshnik on 1/28/2015.
 */
public class ContactService extends BaseService<ContactName>{
    
    public ContactService() {
        super(new ContactNameDao());
    }
    
    public ContactService(AbstractDao<ContactName> dao, boolean isAutoCloseConnection) {
        super(dao, isAutoCloseConnection);
    }

    public ContactService(AbstractDao<ContactName> dao, Connection connection) {
        super(dao, connection);
    }

    public ContactService(AbstractDao<ContactName> dao) {
        super(dao);
    }

    public ContactService(AbstractDao<ContactName> dao, Connection connection, boolean isAutoCloseConnection) {
        super(dao, connection, isAutoCloseConnection);
    }

    @Override
    public List<ContactName> read() throws SQLException {
        
        return null;
    }

    @Override
    public ContactName read(int id) throws SQLException {
        return null;
    }
}
